public class ForceCOnvert {
	public static void main(Stirng[] args) {
		//强转符号只针对于最近的操作数有效，往往会使用小括号提升优先级
		int x = (int)10*3.5+6*1.5; //error double -> int
		int x = (int)(10*3.5+6*1.5);(int)44.0->44

		char c1 = 100;//ok
		int m = 100;
		char c2 = m; //error 将变量赋给变量，判断类型
		char c3 = (int)m; //ok
		System.out.println(c3);//100对应的字符 d

		short s = 12;//ok
		s = s -9;//error int->short
		byte b = 10;//ok
		b = b + 11;//error int->byte
		b = (byte)(b+11);//ok 使用强转
		char c = 'a';//ok
		int i = 16;//ok
		float = 3.14f;//ok
		double result = c + i + d;//ok float ->double
		byte b = 16； //ok
		short s = 12;//ok
		short t = s + b;//error int -> short
	}
}